package com.gxa.index.controller;

import com.gxa.common.base.RespResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;
import java.math.BigDecimal;

@Controller

public class PayController {

    //服务-支付
    @GetMapping("/servicepay")
    public RespResult payMoney(String orderNo, BigDecimal money,String productName){

        //调用支付接口


        return RespResult.success("支付成功");

    }

}
